<template>
  <div>
    <h1>测试2</h1>
    <button @click="hanleSubmit">测试提交</button>
  </div>
</template>

<script>
	import {testSaveGet} from "../network/Test1/test1";

	export default {
		name: "Test2",
		methods: {
			hanleSubmit() {
				testSaveGet({
          name: 'zs',
          age: 12,
          hobby: ['a', 'b']
        }).then(res => {
					console.log(res);
				})
			}
		}
	}
</script>

<style scoped>

</style>